The directory structure for the OS/2 port is laid down in
named/pathnames.h
. See section Directory layout for further information
and means to fit your personal setup without recompiling. The EMX
runtime and IBM TCP/IP have to be installed. HPFS is required.
You will find the executables in the source directories
(named/
, tools/
,
tools/nslookup
), make install
does (of
course) not work (yet).
It is a good idea to have syslogd
running the first time
you start named
. Try parameter -d
for
extensive debug info and/or -q
for query logging. Default
log level is 1; a log level of -d 20
produces over 60 kb
of output during the first 2 seconds - beware...
make -f Makefile.OS2
from the bind distribution root directory, issuing make
from subdirectories won't work), figured out a suitable
compat/lib/lib44bsd.a
, read
conf/protability.h
very carefully :) and while doing so my
OS/2 box turned into a unix-lookalike (you may wish to get GNU
shell|file|text utilities, sed 3.0, flex 2.4.5, ksh 5.27, ... from
hobbes).Look for __EMX__ defines in the code (you won't find many) to see what changed.
Upon request (I was really forced to do so:) I made the path-setup somewhat more dynamic for OS/2 -- now the code evaluates the environment variables ETC, TMP and TEMP and adapts accordingly. Two (hopefully) new environment were introduced:
/tcpip/bin/named-xfer
is used)
named
looks for TMP/namedb/named.boot
)
nslookup
assumes to find its helpfile as
/tcpip/help/nslookup.help
)
nice()
and renice()
code has been
replaced with dummy code, so the OS/2 port may consume more CPU time
than neccessary.
named
this time.
In order to re-compile the bind port you'll need a syslog
library (on hobbes or cdrom.com; for IBM's CSet, a
port of the port to EMX is available from the author) and flex 2.4.5.
/emx/include/sys/time.h
was extended to include stuff we
need for setitimer()
. Maybe we will see this in one of the
next EMX distributions\dots [bad hack :)]
I removed the contrib/
, shres/
,
doc/rfc/
directory from the original distribution, some
postscript files about DNS security were also removed. If you are
interested, just ftp the
latest bind distribution.
A way to send signals under OS/2 is provided with the Apache httpd port. See the
OS2/
directory in the OS/2 Apache archive.
bind493a.zip
, initial
release
bind493b.zip
contains a wonderful
LaTeX-README and, more important, a fix for the 'core dump' bug when
set up as a secondary name server (well, now everything is linked
static); some cleanups were done to the Makefiles; this is just an
update release, it contains only executables and this
README!
bind493c.zip
to fix a bug
which occurred when transferring a zone; it contains only named.exe and
an updated README.
/* kernels that map pages for IO end up failing if the pipe is
full at exit and we take away the final buffer. this is really a
kernel bug but it's harmless on systems that are not broken, so...*/
compat/lib/rename_unixstyle.c
).
nsloopup.help
is now searched in
the path specified by the HELP environment variable; the following
optional environment variables are supported now: NAMED_XFER may point
to the named-xfer
program, NAMED_BOOT locates the
named.boot
file and NSLOOKUP_HELP may point to the
nslookup.help
file; important: upon request
temporary files are now created in /tmp
(not in
/temp
anymore) per default, set TMP or TEMP environment
variable to override this behaviour.
/tcpip/bin/
named.exe (or somewhere in your PATH)
named-xfer.exe (NAMED_XFER)
nslookup.exe (or somewhere in your PATH)
dig.exe (or somewhere in your PATH)
dnsquery.exe (or somewhere in your PATH)
host.exe (or somewhere in your PATH)
addr.exe (or somewhere in your PATH)
/tcpip/help/
nslookup.help (NAMED_HELP)
/tcpip/etc/ (ETC)
named.pid
/tcpip/etc/namedb/ (ETC)
named.boot (NAMED_BOOT)
(and your configuration files) (use the 'directory' keyword in your named.boot
)
/tmp/ (TMP or (TEMP)
named.run
named_dump.db
named.stats
xfer.trace
xfer.ddt.XXXXXX
Example:
named.boot
file should be located in x:/mptn/etc/namedb.
nslookup.help
to x:/mptn/help of course).
named
, these shell scripts in the named\
-directory won't work for us.
I'm very interested in your comments and flames about the OS/2 port of bind:
Still, if everything is running fine please tell me the domain you are
serving with this bind port, just for my ego :)
Peter Meerwald
Schie�standstr. 3
A-5061 Elsbethen/AUSTRIA
seawood@very.priv.at
pmeerw@cosy.sbg.ac.at